package com.example.demo.java8;

import lombok.Data;

/**
 * @ClassName Employee
 * @Description TODO
 * @Author hly
 * @Date 2018\11\28 0028 14:36
 */
@Data
public class Employee {
    private Integer code ;
    private String name;
    private Integer age;
    private Integer salary;
    private String state;

    public Employee() {

    }

    public Employee(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Employee(Integer code, String name, Integer age, Integer salary, String state) {
        this.code = code;
        this.name = name;
        this.age = age;
        this.salary = salary;
        this.state = state;
    }
}
